package com.cy.personer.bean;

import java.io.Serializable;

public class SecondMenu implements Serializable {
    private static final long serialVersionUID = -7125481615387848947L;
    /**
     * 二级菜单序号
     */
    private Integer secondMenuId;
    /**
     *二级菜单名称
     */
    private String secondMenuName;
    /**
     *链接地址
     */
    private String url;
    /**
     *一级菜单ID
     */
    private Integer firstMenuId;

    /**
     * 一级菜单对象
     */
    private FirstMenu firstMenu;

    public SecondMenu(){super();}

    public SecondMenu(Integer secondMenuId,String secondMenuName,String url,Integer firstMenuId){
        this.secondMenuId = secondMenuId;
        this.secondMenuName = secondMenuName;
        this.url = url;
        this.firstMenuId = firstMenuId;
    }

    public String getSecondMenuName() {
        return secondMenuName;
    }

    public void setSecondMenuName(String secondMenuName) {
        this.secondMenuName = secondMenuName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }


    public Integer getSecondMenuId() {
        return secondMenuId;
    }

    public void setSecondMenuId(Integer secondMenuId) {
        this.secondMenuId = secondMenuId;
    }

    public Integer getFirstMenuId() {
        return firstMenuId;
    }

    public void setFirstMenuId(Integer firstMenuId) {
        this.firstMenuId = firstMenuId;
    }

    public FirstMenu getFirstMenu() {
        return firstMenu;
    }

    public void setFirstMenu(FirstMenu firstMenu) {
        this.firstMenu = firstMenu;
    }
}
